package com.hzw.saas.web.app.ds.dto;

import com.hzw.saas.api.product.dto.UserProductAuthDto;
import com.hzw.saas.api.storage.bo.StorageCapacityBO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel("Device Studio 用户信息")
public class DsUserInfoDto {

    //  /user/profile
    @ApiModelProperty(value = "用户名称", position = 0)
    private String userName;

    @ApiModelProperty(value = "用户真实姓名", position = 0)
    private String realName;

    @ApiModelProperty(value = "用户头像 (可能为空)", position = 1)
    private String avatar;

    @ApiModelProperty(value = "用户付费等级", position = 2)
    // ticket/accessEnable
    private Integer customerLevel;

    @ApiModelProperty(value = "用户ds等级", position = 3)
    private Integer dsLevel;

    @ApiModelProperty(value = "用户当前等级获取的经验值", position = 4)
    private Long dsLevelCurrentEx;

    @ApiModelProperty(value = "用户当前等级升级所需总经验值", position = 5)
    private Long dsLevelUpgradeEx;

    // products/usage
    @ApiModelProperty(value = "可用计算机软件", position = 6)
    private List<UserProductAuthDto> userProductAuthDtoList;

    // user/resource/files/size
    @ApiModelProperty(value = "云空间信息", position = 7)
    private StorageCapacityBO storageCapacityBO;

}
